"""
-------------------------------------------------
    Author: Csm
    Date：2020-12-04 15:27
-------------------------------------------------
"""


class B:

    def log(self):
        print("B log")

    def display(self):
        print("B display")
        super(B, self).display2()
        self.log()


class C:
    def display2(self):
        print("C display")


class A(B, C):

    def log(self):
        print("A log")
        super(A, self).log()

    def display2(self):
        print("aa")


test = A()
test.display()
